package com.dj.web.login.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 登录控制器
 * 
 * @author yout 2012-6-17 下午1:03:51
 */
@Controller
public class Signin {

    @RequestMapping(method = RequestMethod.GET, value = "/signin")
    public String login() {
        return "/signin";
    }

    @RequestMapping(method = RequestMethod.POST, value = "/signin")
    public String doLogin() {
        return "/index";
    }
}
